package com.gw.pojo.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class User implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    //用户id
    private Long id;

    //头像
    private String avatar;

    //昵称
    private String nickname;

    //用户邮箱
    private String email;

    //密码
    private String password;

    //真实姓名
    private String name;

    //手机号
    private String phone;

    //年级专业
    private String grades;

    //学号
    private Long studentId;

    //身份： 0，管理 1，社员  2，用户
    private Integer identity;

    //注册时间
    private LocalDateTime createTime;
}
